﻿@{
  ViewBag.Title = "PVMapper";
  Layout = "~/Views/Shared/_MapLayout.cshtml";
}



@section scripts{
    <script type="text/javascript" src="~/Scripts/UI/extras/DynamicLoader.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/extras/promise.js"></script>
    <script type="text/javascript" src="~/Scripts/ViewScripts/pvMapper.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Event.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/pvMapper.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/Application.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/UtilityFunctionEdit.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/ScoreUtilityWindows.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/UtilityFunctions.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/ScoreUtility.js"></script>

    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Common.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/DataManager.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/ModuleManager.js"></script>
    
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Module.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Score.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Scoreboard.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/ScoreLine.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/TotalLine.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/InfoTools.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Site.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/SiteManager.js"></script>

    <script type="text/javascript" src="~/Scripts/UI/view/Window.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Scoreboard.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/PieView.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/ScoreboardWindow.js"></script>
    <script type="text/javascript" src="~/Scripts/ViewScripts/SiteId.js"></script>

  @*Load the layers for the map*@
    <script type="text/javascript" src="~/Scripts/ViewScripts/LoadProjectSites.js"></script>

    <script type="text/javascript" src="~/Scripts/ViewScripts/Layers.js"></script>

    <script type="text/javascript" src="~/Scripts/EsriGeoJSON.js"></script>
    <script type="text/javascript" src="~/Scripts/Esri-GeoJsonConverter.js"></script>

    <script type="text/javascript" src="~/Scripts/ViewScripts/SiteManagement.js"></script>
    <script type="text/javascript" src="~/Scripts/ViewScripts/AddNewSite.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/ExportGridToExcel.js"></script>
    <script type="text/javascript" src="~/Scripts/FileSaver.js"></script>
    <script type="text/javascript" src="~/Scripts/Blob.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/MainToolbar.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/StarRatingHelper.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js"></script>

    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/jstorage.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/Data/ScoreboardProcessor.js"></script>
    <script type="text/javascript" src="~/Scripts/pvExtensions/Reports.js"></script>
    <script type="text/javascript" src="~/Scripts/UI/view/toolConfigWindow.js"></script>
    <script type="text/javascript" src="~/Scripts/ViewScripts/RelatedLinks.js"></script>
    <script type="text/javascript" src="~/Scripts/pvExtensions/TotalsModule.js"></script>

    @*<script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/CustomModule.js"></script>*@  @* Add New Custom Tool, Added by Rohan Raja (BYU Intern) *@

    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/LocalLayerModule.js"></script>
    <script type="text/javascript" src="~/Scripts/pvMapper/TSMapper/KMLInfoModule.js"></script>
    
    @*
        =====================================================================================================
        Files list from here on down are not pvMapper core API specific and may be load on demand if necessary
        =====================================================================================================
    *@

    <script type="text/javascript" src="~/Scripts/pvClient.js"></script>

    <script type="text/javascript">
        //using DOM to convert HTML string (js code) into plain text.
        var div = document.createElement('div');
        div.innerHTML = "@ViewBag.toolModules";
        eval("//# sourceURL=IndexInline.js\n " + div.textContent);
    </script>
    
}

